
<!DOCTYPE html>
<html lang="" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>Win10重置及各种工具配置 - L3SLIE</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="L3SLIE,"> 
    <meta name="description" content="Welcome &amp; suit yourself,Info最近电脑内存不够了，就买了个固态，顺便解决一下系统盘的中文路径问题。
买电脑后一定不要设置中文用户辣！！
其实这个可以新建用户解决，就是我的电脑软件什么的整的太乱了，干脆直接重置，然后把磁盘,"> 
    <meta name="author" content="L3SLIE"> 
    <link rel="alternative" href="atom.xml" title="L3SLIE" type="application/atom+xml"> 
    <link rel="icon" href="/img/favicon.png"> 
    <link href="https://fonts.loli.net/css?family=Roboto+Mono|Rubik&display=swap" rel="stylesheet">
    
<link rel="stylesheet" href="//at.alicdn.com/t/font_1429596_nzgqgvnmkjb.css">

    
<link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.7.2/animate.min.css">

    
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/css/share.min.css">

    
<link rel="stylesheet" href="//cdn.bootcss.com/codemirror/5.48.4/codemirror.min.css">

    
<link rel="stylesheet" href="//cdn.bootcss.com/codemirror/5.48.4/theme/dracula.css">

    
<link rel="stylesheet" href="/css/obsidian.css">

    
<link rel="stylesheet" href="/css/ball-atom.min.css">

<meta name="generator" content="Hexo 4.2.0"></head>


<body class="loading">
    <div class="loader">
        <div class="la-ball-atom la-2x">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
        </div>
    </div>
    <span id="config-title" style="display:none">L3SLIE</span>
    <div id="loader"></div>
    <div id="single">
    <div class="scrollbar gradient-bg-rev"></div>
<div id="top" style="display: block;">
    <div class="bar" style="width: 0;"></div>
    <div class="navigation animated fadeIn fast delay-1s">
        <img id="home-icon" class="icon-home" src="/img/favicon.png" alt="" data-url="http://l3slie.gitee.io">
        <div id="play-icon" title="Play/Pause" class="iconfont icon-play"></div>
        <h3 class="subtitle">Win10重置及各种工具配置</h3>
        <div class="social">
            <!--        <div class="like-icon">-->
            <!--            <a href="javascript:;" class="likeThis active"><span class="icon-like"></span><span class="count">76</span></a>-->
            <!--        </div>-->
            <div>
                <div class="share">
                    
                        <a href="javascript:;" class="iconfont icon-share1"></a>
                        <div class="share-component-cc" data-disabled="facebook,douban,linkedin,diandian,tencent,google"></div>
                    
                </div>
            </div>
        </div>
    </div>
</div>

    <div class="section">
        <div class=article-header-wrapper>
    <div class="article-header">
        <div class="article-cover animated fadeIn" style="
            animation-delay: 600ms;
            animation-duration: 1.2s;
            background-image: 
                radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
                url(/img/welcome-cover.jpg) ">
        </div>
        <div class="else">
            <p class="animated fadeInDown">
                
                <a href="/categories/随笔"><b>「
                    </b>随笔<b> 」</b></a>
                
                November 07, 2020
            </p>
            <h3 class="post-title animated fadeInDown"><a href="/2020/11/07/Win10%E9%87%8D%E7%BD%AE%E5%8F%8A%E5%90%84%E7%A7%8D%E5%B7%A5%E5%85%B7%E9%85%8D%E7%BD%AE/" title="Win10重置及各种工具配置" class="">Win10重置及各种工具配置</a>
            </h3>
            
            <p class="post-count animated fadeInDown">
                
                <span>
                    <b class="iconfont icon-text2"></b> <i>Words count</i>
                    9k
                </span>
                
                
                <span>
                    <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                    8 mins.
                </span>
                
                
                <span id="/2020/11/07/Win10重置及各种工具配置/" class="leancloud_visitors" data-flag-title="Win10重置及各种工具配置">
                    <b class="iconfont icon-read"></b> <i>Read count</i>
                    <span class="leancloud-visitors-count">100000</span>
                </span>
                
                
            </p>
            
            
            <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/" rel="tag">环境配置</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E9%9A%8F%E7%AC%94/" rel="tag">随笔</a></li></ul>
            
        </div>
    </div>
</div>

<div class="screen-gradient-after">
    <div class="screen-gradient-content">
        <div class="screen-gradient-content-inside">
            <div class="bold-underline-links screen-gradient-sponsor">
                <p>
                    <span class="animated fadeIn delay-1s"></span>
                </p>
            </div>
        </div>
    </div>
</div>

<div class="article">
    <div class='main'>
        <div class="content markdown animated fadeIn">
            <h1 id="Info"><a href="#Info" class="headerlink" title="Info"></a>Info</h1><p>最近电脑内存不够了，就买了个固态，顺便解决一下系统盘的中文路径问题。</p>
<p>买电脑后一定不要设置中文用户辣！！</p>
<p>其实这个可以新建用户解决，就是我的电脑软件什么的整的太乱了，干脆直接重置，然后把磁盘再分区。</p>
<h1 id="系统重置"><a href="#系统重置" class="headerlink" title="系统重置"></a>系统重置</h1><p>我没有重装，因为不用换系统固态，所以系统重置比较合适，但是这个阶段也有一些东西需要注意，那就是一定要做好文件备份，然后再进行重置，否则哭都没地方哭。</p>
<p>主要就是系统盘里的一些重要资料，其余软件可以再装，论文什么的没了就GG了。</p>
<h2 id="0x01"><a href="#0x01" class="headerlink" title="0x01"></a>0x01</h2><p>打开设置–&gt;更新与安全–&gt;恢复–&gt;重置此电脑</p>
<p>这里有两个选项，一个是保留文件，一个是全部重置，保留文件应该就是系统备份C盘的文件，但我系统中文路径很烦，所以我把重要的东西都备份到U盘里了。</p>
<h2 id="0x02"><a href="#0x02" class="headerlink" title="0x02"></a>0x02</h2><p>重置了之后就是按部就班的步骤了，就是再写系统用户时注意不要再用中文就可以。</p>
<h1 id="Windows-Terminal-WSL"><a href="#Windows-Terminal-WSL" class="headerlink" title="Windows Terminal + WSL"></a>Windows Terminal + WSL</h1><p>Windows Terminal 是微软推出的终端，可以使用各种主题，修改背景，和WSL协同十分方便，还可以添加Git-Bash等，挺爽的。</p>
<h2 id="0x01-安装"><a href="#0x01-安装" class="headerlink" title="0x01   安装"></a>0x01   安装</h2><p>这个两个在Microsoft Store安装最方便，但是重置之后微软商店就有点离谱，一点下载就卡住，可能学校的网不太彳亍，还得挂梯子才能进去微软商店的界面，但还是装不上。</p>
<p>捣鼓了半天，网上的解决方法都试过了，卸载重装都试了，正准备放弃，打算开始手动安装，结果第二天早上就又可以了。。。</p>
<p>太离谱了。</p>
<p>然后就是Ubuntu 18的安装，需要开启微软对Linux的支持。</p>
<blockquote>
<p>首先在搜索栏中搜索并打开“启用或关闭Windows功能”，勾选“适用于Linux的Windows子系统”项。只有开启这项设置才能正常安装WSL。</p>
</blockquote>
<h2 id="0x02-配置"><a href="#0x02-配置" class="headerlink" title="0x02   配置"></a>0x02   配置</h2><h3 id="Terminal右键"><a href="#Terminal右键" class="headerlink" title="Terminal右键"></a>Terminal右键</h3><p>实现Terminal右键配置</p>
<blockquote>
<p>参考链接：<a href="https://www.zhihu.com/question/325948326/answer/700753639" target="_blank" rel="noopener">https://www.zhihu.com/question/325948326/answer/700753639</a></p>
</blockquote>
<pre><code class="wt.reg">Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@=&quot;Windows terminal here&quot;
&quot;Icon&quot;=&quot;%USERPROFILE%\\AppData\\Local\\terminal\\wt_32.ico&quot;

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@=&quot;C:\\Users\\[yourusername]\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe&quot;</code></pre>
<h3 id="Terminal美化"><a href="#Terminal美化" class="headerlink" title="Terminal美化"></a>Terminal美化</h3><p><a href="https://www.chuchur.com/article/windows-terminal-beautify" target="_blank" rel="noopener">参考文章</a></p>
<p>这个<a href="https://windowsterminalthemes.dev/" target="_blank" rel="noopener">网站</a>上有一些简单的配置，实现终端美化。</p>
<h3 id="配置解释"><a href="#配置解释" class="headerlink" title="配置解释"></a>配置解释</h3><pre><code class="json">&quot;profiles&quot;:
    {
        &quot;defaults&quot;:
        {
            // Put settings here that you want to apply to all profiles.
            &quot;acrylicOpacity&quot;: 0.7, //背景透明度
            &quot;useAcrylic&quot;: true, // 启用毛玻璃
            &quot;backgroundImage&quot;: &quot;C:\\Users\\L3slie\\Pictures\\Saved Pictures\\cover.jpg&quot;, //背景图片
            &quot;backgroundImageOpacity&quot;: 0.2, //图片透明度
            //&quot;backgroundImageStretchMode&quot;: &quot;fill&quot;,//填充模式
            &quot;fontFace&quot;: &quot;Cascadia Code PL&quot;, //字体
            &quot;fontSize&quot;: 14, //文字大小
            //&quot;colorScheme&quot;: &quot;Solarized Light&quot;, //主题
            &quot;cursorColor&quot;: &quot;#FFFFFF&quot;, //光标颜色
            &quot;cursorShape&quot;: &quot;bar&quot;, //光标形状

        },</code></pre>
<ul>
<li><p>当前目录打开终端</p>
<blockquote>
<pre><code class="json">// Make changes here to the powershell.exe profile.
                &quot;guid&quot;: &quot;{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}&quot;,
                &quot;name&quot;: &quot;Windows PowerShell&quot;,
                &quot;commandline&quot;: &quot;powershell.exe&quot;,
                &quot;fontFace&quot;: &quot;Cascadia Code PL&quot;, //字体
                &quot;hidden&quot;: false,
                &quot;startingDirectory&quot;:&quot;./&quot; //起始目录</code></pre>
<p>将<code>startingDirectory</code>保留并设置为<code>&quot;./&quot;</code>即可。</p>
</blockquote>
</li>
</ul>
<h3 id="WSL配置"><a href="#WSL配置" class="headerlink" title="WSL配置"></a>WSL配置</h3><p>换源</p>
<ul>
<li><p>备份</p>
<blockquote>
<p><code>sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak</code></p>
</blockquote>
</li>
<li><p>查看版本信息</p>
<blockquote>
<pre><code class="bash">l3slie@L3SLIE:/home$ lsb_release -c
Codename:       bionic</code></pre>
<p>Ubuntu 18.04 LTS 的代号是 ：bionic</p>
</blockquote>
</li>
<li><p>编辑源文件</p>
<blockquote>
<p><code>sudo vim /etc/apt/sources.list</code></p>
<p>根据Ubuntu版本，添加相应内容</p>
<pre><code class="bash">deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse</code></pre>
<p>保存退出</p>
</blockquote>
</li>
<li><p>更新和升级</p>
<blockquote>
<pre><code class="bash">sudo apt-get update
sudo apt-get upgrade</code></pre>
</blockquote>
</li>
</ul>
<p>安装oh-my-zsh</p>
<p><a href="https://www.cnblogs.com/weixuqin/p/10997534.html" target="_blank" rel="noopener">参考链接</a></p>
<p>需要下载支持PL的字体，我用的是微软开源的<code>Cascadia Code PL</code>字体，直接再github上搜就行了。</p>
<ul>
<li><p>WSL迁移</p>
<blockquote>
<p>Windows默认的wsl安装地址在C盘，我们可以将WSL独立迁移到一个非系统盘中，例如F盘</p>
<p>我们可以将F盘分配50G，然后通过LxRunOffline实现迁移。</p>
</blockquote>
<p><code>项目地址：https://github.com/DDoSolitary/LxRunOffline/releases</code>，现在更新到<a href="https://github.com/DDoSolitary/LxRunOffline/releases/tag/v3.5.0" target="_blank" rel="noopener">v3.5.0</a>版本了。</p>
<p><strong>使用方法：</strong></p>
<p>下载项目后，需要先把WSL服务关闭，否则无法迁移，<code>进入服务 找到 LxssManager 右键停止</code>。可以使用<code>wsl -l</code>命令查看所下载的WSL版本。</p>
<pre><code class="cmd">wsl -l  ##查看版本
.\LxRunOffline.exe move -n Ubuntu -d f:\Ubuntu   ##迁移
.\LxRunOffline.exe get-dir -n Ubuntu  ##查看地址</code></pre>
<p>迁移过程会出现WARNING 不用在意，等一会就迁移成功了。</p>
<p>迁移之后就很方便了，你直接可以进入对应文件夹进行操作，gitclone有时太慢了，就可以直接把文件压缩包从网站上DOWN下来复制到想设置的文件夹下解压就行了。</p>
<blockquote>
<p>win和WSL之间的文件操作需要通过命令进行，因为Linux的文件权限问题，需要给WSL读取win下文件的权限，但是通过chmod命令是无法实现的，</p>
<p>即使提权到root也没办法执行，ls命令看到的文件权限位置是一连串的问号，应该是无法识别。</p>
<p>但是我们可以通过<code>cd /mnt</code>来访问win10的各个磁盘，再此目录录下执行ls命令即可看到win的各个盘符。</p>
<p>然后需要通过mv命令将文件复制到对应文件夹。</p>
</blockquote>
</li>
</ul>
<hr>
<h1 id="Pycharm配置"><a href="#Pycharm配置" class="headerlink" title="Pycharm配置"></a>Pycharm配置</h1><h2 id="0x01-安装-1"><a href="#0x01-安装-1" class="headerlink" title="0x01 安装"></a>0x01 安装</h2><p>白嫖的学生邮箱，直接官网下载对应安装包就行，这个没什么好说的。如果没有学生邮箱，自行百度怎么科学使用。</p>
<p>然后是python的安装，没有特别需要的话，还是建议装python3，毕竟之后python2就会逐渐被抛弃了，各种python库也都在往python3上迁移，gmpy2什么的最新版已经支持python3.9了。下载时注意<code>add to path</code>不然还要自己在添加环境变量。</p>
<h2 id="0x02-配置-1"><a href="#0x02-配置-1" class="headerlink" title="0x02 配置"></a>0x02 配置</h2><p>所需的python库都可以在Pycharm中下载，setting–&gt;Project–&gt;Project Interpreter中点击右边的<code>+</code>号，然后搜索所需的python库安装即可。</p>
<blockquote>
<p>随后会在写一篇jetbrains全家桶的配置使用及配置，大概   =）</p>
</blockquote>
<hr>
<h1 id="IDEA配置"><a href="#IDEA配置" class="headerlink" title="IDEA配置"></a>IDEA配置</h1><h2 id="0x01-安装-2"><a href="#0x01-安装-2" class="headerlink" title="0x01 安装"></a>0x01 安装</h2><p>官网下载||科学使用</p>
<h2 id="0x02-配置-2"><a href="#0x02-配置-2" class="headerlink" title="0x02 配置"></a>0x02 配置</h2><p><a href="https://www.bilibili.com/read/cv5707434/" target="_blank" rel="noopener">参考</a></p>
<p><a href="https://docs.oracle.com/javase/8/docs/" target="_blank" rel="noopener">JDK1.8_API</a></p>
<hr>
<h1 id="Clion配置"><a href="#Clion配置" class="headerlink" title="Clion配置"></a>Clion配置</h1><h2 id="0x01-安装-3"><a href="#0x01-安装-3" class="headerlink" title="0x01 安装"></a>0x01 安装</h2><p>官网下载||科学使用</p>
<h2 id="0x02-配置-3"><a href="#0x02-配置-3" class="headerlink" title="0x02 配置"></a>0x02 配置</h2><h3 id="编译器"><a href="#编译器" class="headerlink" title="编译器"></a>编译器</h3><ul>
<li>MinGW</li>
</ul>
<p>下载时要看好对应版本，电脑是32位的就下载MinGW，是64位的就下载MinGW_64，还有就是Clion支持的MinGW版本，我下载的最新版要求7.1及以上版本，否则会显示无法编译。<strong><em>之前因为版本的问题折腾了好久。。。</em></strong></p>
<ul>
<li>VS</li>
</ul>
<p>Clion是可以检测出微软的VS的，如果你装了的话，但是我没选这个是因为微软编译出来的程序反编译出来太离谱了。</p>
<hr>
<h1 id="HEXO博客美化"><a href="#HEXO博客美化" class="headerlink" title="HEXO博客美化"></a>HEXO博客美化</h1><p>详见以下链接，但是美化需要考虑自身配置，当然配置吊的能带动更多效果。</p>
<p>而且博客美化适度即可，适合自己的才是最好的。</p>
<p><code>https://zhuanlan.zhihu.com/p/69211731</code></p>
<p><code>https://zhuanlan.zhihu.com/p/69213954</code></p>

            <!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]-->
            <audio id="audio" loop="1" preload="auto" controls="controls"
                data-autoplay="false">
                <source type="audio/mpeg" src="">
            </audio>
            
            <ul id="audio-list" style="display:none">
                
                
                <li title='0' data-url='/statics/i saw you in a dream.mp3'></li>
                
                    
            </ul>
            
            
            
            <div id="vcomments"></div>
            
        </div>
        <div class="sidebar">
            <div class="box animated fadeInRight">
                <div class="subbox">
                    <img src="/img/avatar.jpg" height=300 width=300></img>
                    <p>L3SLIE</p>
                    <span>Life Long & Pwn</span>
                    <dl>
                        <dd><a href="https://github.com/13slie" target="_blank"><span
                                    class=" iconfont icon-github"></span></a></dd>
                        <dd><a href="" target="_blank"><span
                                    class=" iconfont icon-twitter"></span></a></dd>
                        <dd><a href="https://stackexchange.com/users/17805607/l3slie" target="_blank"><span
                                    class=" iconfont icon-stack-overflow"></span></a></dd>
                    </dl>
                </div>
                <ul>
                    <li><a href="/">46 <p>Articles</p></a></li>
                    <li><a href="/categories">13 <p>Categories</p></a></li>
                    <li><a href="/tags">20 <p>Tags</p></a></li>
                    <br><span><b><p>友链博客</p></b></span><br>
                    <span><u><p><a href="http://rdd.xjusec.club/" target="_blank">Rdd</a></p></u></span>
                    <span><u><p><a href="http://www.xjusec.club/" target="_blank">XJUSEC</a></p></u></span>
                    <span><u><p><a href="http://www.r1ght0us.xyz/" target="_blank">r1ght0us</a></p></u></span>
                </ul>
            </div>
            
            
            
            <div class="box sticky animated fadeInRight faster">
                <div id="toc" class="subbox">
                    <h4>Contents</h4>
                    <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#Info"><span class="toc-number">1.</span> <span class="toc-text">Info</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#系统重置"><span class="toc-number">2.</span> <span class="toc-text">系统重置</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#0x01"><span class="toc-number">2.1.</span> <span class="toc-text">0x01</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#0x02"><span class="toc-number">2.2.</span> <span class="toc-text">0x02</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#Windows-Terminal-WSL"><span class="toc-number">3.</span> <span class="toc-text">Windows Terminal + WSL</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#0x01-安装"><span class="toc-number">3.1.</span> <span class="toc-text">0x01   安装</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#0x02-配置"><span class="toc-number">3.2.</span> <span class="toc-text">0x02   配置</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Terminal右键"><span class="toc-number">3.2.1.</span> <span class="toc-text">Terminal右键</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Terminal美化"><span class="toc-number">3.2.2.</span> <span class="toc-text">Terminal美化</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#配置解释"><span class="toc-number">3.2.3.</span> <span class="toc-text">配置解释</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#WSL配置"><span class="toc-number">3.2.4.</span> <span class="toc-text">WSL配置</span></a></li></ol></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#Pycharm配置"><span class="toc-number">4.</span> <span class="toc-text">Pycharm配置</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#0x01-安装-1"><span class="toc-number">4.1.</span> <span class="toc-text">0x01 安装</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#0x02-配置-1"><span class="toc-number">4.2.</span> <span class="toc-text">0x02 配置</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#IDEA配置"><span class="toc-number">5.</span> <span class="toc-text">IDEA配置</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#0x01-安装-2"><span class="toc-number">5.1.</span> <span class="toc-text">0x01 安装</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#0x02-配置-2"><span class="toc-number">5.2.</span> <span class="toc-text">0x02 配置</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#Clion配置"><span class="toc-number">6.</span> <span class="toc-text">Clion配置</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#0x01-安装-3"><span class="toc-number">6.1.</span> <span class="toc-text">0x01 安装</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#0x02-配置-3"><span class="toc-number">6.2.</span> <span class="toc-text">0x02 配置</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#编译器"><span class="toc-number">6.2.1.</span> <span class="toc-text">编译器</span></a></li></ol></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#HEXO博客美化"><span class="toc-number">7.</span> <span class="toc-text">HEXO博客美化</span></a></li></ol>
                </div>
            </div>
            
            
        </div>
    </div>
</div>

    </div>
</div>
    <div id="back-to-top" class="animated fadeIn faster">
        <div class="flow"></div>
        <span class="percentage animated fadeIn faster">0%</span>
        <span class="iconfont icon-top02 animated fadeIn faster"></span>
    </div>
</body>
<footer>
    <p class="copyright" id="copyright">
		<span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span>
		<script>
		var now = new Date(); 
		function createtime() { 
			var grt= new Date("01/10/2020 00:00:00");//在此处修改你的建站时间
			now.setTime(now.getTime()+250); 
			days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); 
			hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); 
			if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); 
			mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} 
			seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); 
			snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} 
			document.getElementById("timeDate").innerHTML = "本站已安全运行 "+dnum+" 天 "; 
			document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒"; 
		} 
		setInterval("createtime()",250);
		</script>
        &copy; 2020
        <span class="gradient-text">
            L3SLIE
        </span>❤
        Powered by <a href="http://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
        Theme
        <span class="gradient-text">
            <a href="https://github.com/TriDiamond/hexo-theme-obsidian" title="Obsidian" target="_blank" rel="noopener">Obsidian</a>
        </span>
        <small><a href="https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/CHANGELOG.md" title="v1.4.3" target="_blank" rel="noopener">v1.4.3</a></small>
    </p>
</footer>

<script type="text/javascript" src="https://cdn.bootcss.com/mathjax/2.7.6/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<script>
  MathJax.Hub.Config({
    "HTML-CSS": {
      preferredFont: "TeX",
      availableFonts: ["STIX", "TeX"],
      linebreaks: {
        automatic: true
      },
      EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50)
    },
    tex2jax: {
      inlineMath: [
        ["$", "$"],
        ["\\(", "\\)"]
      ],
      processEscapes: true,
      ignoreClass: "tex2jax_ignore|dno",
      skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
    },
    TeX: {
      noUndefined: {
        attributes: {
          mathcolor: "red",
          mathbackground: "#FFEEEE",
          mathsize: "90%"
        }
      },
      Macros: {
        href: "{}"
      }
    },
    messageStyle: "none"
  });
</script>
<script>
  function initialMathJax() {
    MathJax.Hub.Queue(function () {
      var all = MathJax.Hub.getAllJax(),
        i;
      // console.log(all);
      for (i = 0; i < all.length; i += 1) {
        console.log(all[i].SourceElement().parentNode)
        all[i].SourceElement().parentNode.className += ' has-jax';
      }
    });
  }

  function reprocessMathJax() {
    if (typeof MathJax !== 'undefined') {
      MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
    }
  }
</script>




<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="/js/plugin.js"></script>
<script src="/js/obsidian.js"></script>
<script src="/js/jquery.truncate.js"></script>
<script src="/js/search.js"></script>


<script src="//cdn.bootcss.com/typed.js/2.0.10/typed.min.js"></script>


<script src="//cdn.bootcss.com/blueimp-md5/2.12.0/js/md5.min.js"></script>


<script src="//cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/js/social-share.min.js"></script>


<script src="https://cdn.bootcss.com/codemirror/5.48.4/codemirror.min.js"></script>

    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/javascript/javascript.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/css/css.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/xml/xml.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/htmlmixed/htmlmixed.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/clike/clike.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/php/php.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/shell/shell.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/python/python.min.js"></script>




    
<script src="/js/busuanzi.min.js"></script>

    <script>
        $(document).ready(function () {
            if ($('span[id^="busuanzi_"]').length) {
                initialBusuanzi();
            }
        });
    </script>



<link rel="stylesheet" href="//cdn.bootcss.com/photoswipe/4.1.3/photoswipe.min.css">
<link rel="stylesheet" href="//cdn.bootcss.com/photoswipe/4.1.3/default-skin/default-skin.min.css">


<script src="//cdn.bootcss.com/photoswipe/4.1.3/photoswipe.min.js"></script>
<script src="//cdn.bootcss.com/photoswipe/4.1.3/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>







<script>
    function initialTyped () {
        var typedTextEl = $('.typed-text');
        if (typedTextEl && typedTextEl.length > 0) {
            var typed = new Typed('.typed-text', {
                strings: ["Life Long &amp; Pwn", "生命不息，破解不止"],
                typeSpeed: 90,
                loop: true,
                loopCount: Infinity,
                backSpeed: 20,
            });
        }
    }

    if ($('.article-header') && $('.article-header').length) {
        $(document).ready(function () {
            initialTyped();
        });
    }
</script>


    
<script src="//unpkg.com/valine/dist/Valine.min.js"></script>

    <script>

        var valine = new Valine();

        function initValine(path) {
            if (!path) path = window.location.pathname;
            let language = '';
            if (!language) {
                language = 'en';
            } else {
                language = language.toLowerCase();
            }
            valine.init({
                el: '#vcomments',
                appId: 'GnPlbHQ9xAWEoCDC8rR3zALj-gzGzoHsz',
                appKey: 'Nygd2awSxr9ioTDtvbH6hE0l',
                notify: 'false',
                verify: 'false',
                avatar: 'mm',
                placeholder: 'feel free to comment~',
                visitor: 'true',
                path: path,
                lang: language
            });
        }

        $(document).ready(function () {
            initValine();
        });
    </script>



</html>
<!-- 页面点击小红心 -->
<script type="text/javascript" src="/js/love.js"></script>
<!-- 烟火效果 -->
<canvas class="fireworks" style="position: fixed;left: 0;top: 0;z-index: 1; pointer-events: none;" ></canvas> 
<script type="text/javascript" src="//cdn.bootcss.com/animejs/2.2.0/anime.min.js"></script> 
<script type="text/javascript" src="/js/fireworks.js"></script>
<!--自定义标题-->
<script type="text/javascript" src="\js\title.js"></script>
